﻿@model PiscoSourDominio.Usuario
@{
    ViewBag.Title = "Login Restaurante";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div style="background-color: White">
    @using (Html.BeginForm())
    {
        @Html.ValidationSummary(true)
        <fieldset>
            <legend>Validar Usuario Restaurante</legend>
            <div class="container">
                <div class="conten-etiq">
                    <div class="editor-etiq">
                        Login
                    </div>
                    <div class="editor-etiq-izq">
                        @Html.EditorFor(model => model.vchUsuario)
                        @Html.ValidationMessageFor(model => model.vchUsuario)
                    </div>
                </div>
                <div class="conten-etiq">
                    <div class="editor-etiq">
                        Password
                    </div>
                    <div class="editor-etiq-izq">
                        @Html.PasswordFor(model => model.vchpassword)
                        @Html.ValidationMessageFor(model => model.vchpassword)
                    </div>
                </div>
                <div class="conten-etiq">            
                    @ViewBag.Error    
                </div>                
                <div class="conten-etiq">            
                    <input type="submit" value="Registrar" />
                </div>
                <div class="conten-etiq-reg">
                    @Html.ActionLink("Regresar al listado", "List")
                </div>
            </div>
        </fieldset>
    }
</div>